{% if err %}
  <div class="mdui-chip mdui-color-red">
    <span class="mdui-chip-title">{{ err }}</span>
  </div>
{% endif %}
{% if msg %}
  <div class="mdui-chip mdui-color-green-600">
    <span class="mdui-chip-title">{{ msg }}</span>
  </div>
{% endif %}